package com.atguigu.gmall.common.constants;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2024/9/16 4:15
 */
public class RedisConst {
    public static final String CATEGORY_CACHE_KEY="categorys";
    public static final String SKUDETAIL_CACHE_KEY = "sku:detail:";
    public static final String BLOOM_SKU_ID = "bloom:skuId";
    public static final String LOCK_PREFIX = "lock:";
    public static final String SKUDETAIL_LOCK_PREFIX = "lock:skuDetail";
    public static final String CATEGORY_LEVEL_1_KEY = "category:level:1";
    public static final String CATEGORY_LEVEL_2_KEY = "category:level:2";
    public static final String CATEGORY_LEVEL_3_KEY = "category:level:3";
    public static final String SKU_HOTSCORE = "sku:hotScore";
    public static final String USER_LOGIN_PREFIX = "user:login:";
    public static final String USER_CART_PREFIX="user:cart:";
    public static final Long CART_SIZE_LIMIT = 200L;
    public static final String NO_COMPEAT_TOKEN = "nocompeat:token:";
    public static final String SECKILL_GOODS_CACHE_PREFIX = "seckill:goods:";
    public static final String SECKILL_CODE_CACHE_PREFIX = "seckill:code:";
    public static final String SECKILL_TEMP_ORDER_PREFIX = "seckill:temp:order:";
}
